package org.example.springbootproject.service;

import org.example.springbootproject.pojo.User;

public interface UserService {
    User findByUserName(String username);

    void register(String username, String password);

    void upDate(User user);

    void updateAvatar(String avatarUrl);

    //更新密码
    void upDatePwd(String newPwd, String username);
}





